layui.use(['layer'], function () {
    const layer = parent.layer === undefined ? layui.layer : top.layer,
        $ = layui.jquery;

    $.ajax({
        url: $.cookie("tempUrl") + "hOmsOrderInterrogation/selectById?id=" + $.cookie('tempId'),
        type: "GET",
        success: function (result) {
            if (result.code === 200) {
                $(".no").append(result.data.id);
                $(".createTime").append(result.data.createTime);
                $(".name").append(result.data.memberName);
                $(".memberPhone").append(result.data.memberPhone);
                $(".age").append(result.data.age);
                $(".distribution").append(result.data.distribution);
                $(".blh").append(result.data.blh);
                $(".departmentName").append(result.data.departmentName);
                $(".detailsAddress").append(result.data.detailsAddress);
                $(".preliminaryDiagnosis").append(result.data.preliminaryDiagnosis);
                $(".doctorName").append(result.data.doctorName);
                $(".sydoctorName").append(result.data.sydoctorName);
                $(".fhdoctorName").append(result.data.fhdoctorName);
            } else {
                layer.msg(result.exception, {icon: 7, anim: 6});
            }
        }
    });
});